package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 辅导类型
 *
 * @author flyme
 * @date 2021-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_tutor_type")
@TableAlias("tutorType")
@ApiModel(value = "BusTutorType对象", description = "辅导类型")
public class BusTutorType extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "tutorTypeId", type = IdType.ASSIGN_ID)
    private Long tutorTypeId;

    @ApiModelProperty(value = "辅导类型名称")
    private String tutorTypeName;

    @ApiModelProperty(value = "辅导价格")
    private BigDecimal tutorPrice;

    @ApiModelProperty(value = "价格单位")
    private String priceUnit;

    @ApiModelProperty(value = "收费类型(1.按次收费，2按时长收费)")
    private Integer chargeType;

    @ApiModelProperty(value = "状态")
    private Integer tutorState;

    @ApiModelProperty(value = "知识点Id(1级)")
    private Long subjectId;


}
